#ifndef HISTOGRAMDIALOG_H
#define HISTOGRAMDIALOG_H
#include "AbstractDialog.h"
#include "ui_HistogramDialog.h"



class HistogramDialog : public AbstractDialog
{
  Q_OBJECT

public:

  HistogramDialog (QWidget *parent);



  virtual void _openEvent ();

  virtual void _closeEvent (int r);

private:

  Ui::HistogramDialog ui;

public slots:

  void toggleRedChannel (bool isChecked);

  void toggleGreenChannel (bool isChecked);

  void toggleBlueChannel (bool isChecked);

  void toggleGrayChannel (bool isChecked);

};

#endif // HISTOGRAMDIALOG_H
